package com.jbit.examSystem.pojo;

import java.io.Serializable;
import java.util.Date;

//学生类
public class Student extends User implements Serializable {
    private Date birthday;
    private Boolean sex;
    private Integer classId;//班级

    @Override
    public String toString() {
        return "Student{" +
                ", birthday=" + birthday +
                ", sex=" + sex +
                ", classId=" + classId +
                '}';
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }
}
